<?php

namespace common\models;
use common\models\base\RelAttachmentAndUploadFile as base;
use Yii;

/**
 * This is the model class for table "rel_attachment_and_upload_file".
 *
 * @property integer $attachment_id
 * @property integer $upload_file_id
 */
class RelAttachmentAndUploadFile extends base
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'rel_attachment_and_upload_file';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
//            [['attachment_id', 'upload_file_id'], 'required'],
            [['attachment_id', 'upload_file_id'], 'integer'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'attachment_id' => 'Attachment ID',
            'upload_file_id' => 'Upload File ID',
        ];
    }
}
